package com.tianyalei.wolf.sample.activity.collapsing;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

import com.tianyalei.wolf.sample.R;

import butterknife.ButterKnife;
import butterknife.OnClick;

public class CollChooseActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_coll_choose);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.coll_recycle, R.id.coll_tab, R.id.coll_viewpager})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.coll_recycle:
                startActivity(new Intent(this, CollapsingToolbarLayoutActivity.class));
                break;
            case R.id.coll_tab:
                startActivity(new Intent(this, CollapsingTabLayoutActivity.class));
                break;
            case R.id.coll_viewpager:
                startActivity(new Intent(this, CollapsingViewPagerActivity.class));
                break;
        }
    }
}
